/**
 * Description: 全局字典Map
 *
 * Created by hrx on 2023/9/18
 */
interface IMapVoType {
  [key: number | string]: {
    TITLE?: string;
    VALUE?: number
  };
}
export const ACTION_DETAILS_TYPE_MAP: IMapVoType = {
  0: { TITLE: '七步洗手' },
  1: { TITLE: '洗手阶段' },
  2: { TITLE: '冲洗' },
  3: { TITLE: '擦干' },
  4: { TITLE: '消毒' },
  5: { TITLE: '消毒洗手' },
};

export const REGION_CLASSIFY: IMapVoType = {
  '区域': { VALUE: 0 },
  '层级': { VALUE: 1 },
};
// 排序字段类型(1: 姓名, 2:人员类别, 3:工号, 4:所在科室, 5:归口管理科室, 6:岗位, 7:角色/职务, 8:创建时间)
export const MEMBER_FILED_SORT_TYPE_MAP: IMapVoType = {
  'userName': {VALUE: 1},
  'memberTypeName': {VALUE: 2},
  'jobNum': {VALUE: 3},
  'responsibleDeptName': {VALUE: 4},
  'centralManageDeptName': {VALUE: 5},
  'postName': {VALUE: 6},
  'jobName': {VALUE: 7},
  'createTime': {VALUE: 8},
}

export const FILED_SORT_ORDER_MAP: IMapVoType = {
  'descending': {TITLE: 'DESC'},
  'ascending': {TITLE: 'ASC'},
}


